package com.vegetable.modules.entity.quotation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="报价地域", description="报价地域")
public class QuotationArea  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "地区名称")
    private String areaName;

    /**
     * 负责人名字
     */
    @ApiModelProperty(value = "负责人名字")
    private String commanderName;

    /**
     * 负责人电话
     */
    @ApiModelProperty(value = "负责人电话")
    private String commanderMobile;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "地区标志")
    private String areaSign;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsNum;

    @ApiModelProperty(value = "当天更新数量")
    @TableField(exist = false)
    private Integer updateNum = 0;
}
